package com.heu.blood.recycle.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.heu.blood.recycle.entity.BloodReturnEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heu.blood.recycle.vo.BloodReturnEntityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 
 * 
 * @author ysl
 * @email 
 * @date 2023-08-28 10:20:28
 */

@Mapper
public interface BloodReturnDao extends BaseMapper<BloodReturnEntity> {

//    List<BloodReturnEntityVo> selectBloodReturn();

    IPage<BloodReturnEntityVo> selectBloodReturn(IPage<BloodReturnEntityVo> page, @Param(Constants.WRAPPER)QueryWrapper<BloodReturnEntityVo> wrapper);

    BloodReturnEntityVo selectById(Long id);
}
